package com.mysecurity.service;

import com.mysecurity.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RoleService extends IService<Role> {

    /**
     * 按登录用户的id查询所有角色
     * @param uid
     * @return
     */
    List<Role> getRoleListByUserId(Long uid);

}
